<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="1" fx="666">33333333</div>
</body>
<script src="../作用域/wu.js"></script>
<script>
    console.log($("div").attr("fx"));
    console.log($("div").prop("fx"));
    $("div").attr("fx", "321")
    $("div").prop("fx", "123")

    console.log($("div").prop("id"));
    $("div").prop("id","prop1")
</script>

</html>